
<!-- 博主个人主页展示页面 -->
{{extend '../app_layout/blog_info_layout.html'}}

{{block 'blog_info_layout_css'}}
    <link rel="stylesheet" href="/css/person_set/person_set_home.css">
{{/block}}

{{block 'blog_info_layout_content'}}
    <!-- 我的信息 -->
    <div class="set-right">
        <div class="h-title">
            <h3>个人主页</h3>
        </div>
        <div class="h-img clearFix">
            <div class="change-img clearFix">
                <div class="clearFix">
                    <input title="选择您的头像" type="file" id="select-img">
                    <img src="../../imgs/int.jpg">
                    <span>修改头像</span>
                </div>
            </div>
            <div class="personal-name">
                <div>
                    <a href="../blog/defalut.html" title="博客首页">车神-黄杰(https://www.cnblogs.com/yudongdong/)</a>
                </div>
            </div>
        </div>
        <div class="h-info clearFix">

            <div class="h-info-title">
                <h4>个人信息</h4>
                <!-- 此时还是不能通过 -->
                <a href="/blogsd" class="change-list">
                    <img src="../../imgs/change-img.png">
                    <span>修改信息</span>
                </a>
            </div>
            <div class="info-list">
                <ul>
                    <li>
                        <span>实名</span>
                        <!-- 注意这里空字符串 并不是false -->
                        {{if data.userData.realName === ''}}
                            <span class="nick-name single-text">*</span>
                        {{else}}
                            <span class="nick-name single-text">{{data.userData.realName}}</span>
                        {{/if}}
                    </li>
                    <li>
                        <span>性别</span>
                        <span class="nick-name single-text">{{data.userData.gender}}</span>
                    </li>
                    <li>
                        <span>生日</span>
                        <span class="nick-name single-text">
                            {{data.userData.year}}-{{data.userData.month}}-{{data.userData.data}}
                        </span>
                    </li>
                    <li>
                        <span>行业</span>
                        <span class="nick-name single-text">{{data.userData.trade}}</span>
                    </li>
                    <li>
                        <span>地址</span>
                        <span class="nick-name single-text">
                                {{data.userData.province}}-{{data.userData.city}}
                        </span>
                    </li>
                    <li class="synopsis">
                        <p>简介</p>
                        {{if data.userData.intronl === ''}}
                            <p class="synopsis-content">*</p>
                        {{else}}
                            <p class="synopsis-content">{{data.userData.intronl}}</p>
                        {{/if}}
                    </li>
                </ul>
            </div>
        </div>
    </div>
{{/block}}